<!DOCTYPE HTML>
<html>

<head>
  <title></title>
  <meta charset="utf-8">
  <meta name="renderer" content="webkit|ie-comp|ie-stand">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
  <meta http-equiv="Cache-Control" content="no-siteapp" />
  <!--<link rel="Bookmark" href="/favicon.ico">-->
  <!--<link rel="Shortcut Icon" href="/favicon.ico" />-->
  <link rel="stylesheet" type="text/css" href="__PUBLIC__/Admin/static/h-ui/css/H-ui.min.css" />
  <link rel="stylesheet" type="text/css" href="__PUBLIC__/Admin/static/h-ui.admin/css/H-ui.admin.css" />
  <link rel="stylesheet" type="text/css" href="__PUBLIC__/Admin/lib/Hui-iconfont/1.0.8/iconfont.css" />
  <link rel="stylesheet" type="text/css" href="__PUBLIC__/Admin/static/h-ui.admin/skin/default/skin.css" id="skin" />
  <link rel="stylesheet" type="text/css" href="__PUBLIC__/Admin/static/h-ui.admin/css/style.css" />
  <!-- <script src="../ckeditor/ckeditor/ckeditor.js"></script> -->
  <link rel="stylesheet" type="text/css" href="__PUBLIC__/css/base.css">
  <link rel="stylesheet" type="text/css" href="__PUBLIC__/css/contract_manage.css">
  <title>合同管理</title>
</head>

<body>
<div class="page-container contract_manage">
  <div class="text-c box_a">
    <div>
      日期范围：
      <input type="text" onfocus="WdatePicker({<pre> maxDate:'#F{$dp.$D(\'logmax\')||\'%y-%M-%d\'}'</pre> })" id="logmin" class="input-text Wdate"
             style="width:150px;"> -

      <button name="" id="" class="btn btn-success" type="submit">
        <i class="Hui-iconfont">&#xe665;</i>查询
      </button>
    </div>
  </div>
  <div class="tit col-md-9">
    <div class="left_cont">
      <span>合同管理</span>
      <button class="btn btn-success radius ml-20" onClick="contract_add('合同编辑','contract_add.html','11')">
        <i class="Hui-iconfont">&#xe600;</i>新建合同
      </button>
    </div>
    <div class="right_cont">
      <input type="text" name="" placeholder="请输入名称" style="width:150px" class="input-text">
      <button name="" class="btn btn-success" type="submit">
        <i class="Hui-iconfont"></i> 搜索</button>
    </div>
  </div>
  <div class="contrant_manage_table">
    <table class="table table-border table-bordered table-bg table-hover table-sort auth_table">
      <thead>
      <tr class="text-c">
        <th>序号</th>
        <th>时间</th>
        <th>合同编号</th>
        <th>合同标题</th>
        <th>操作</th>
      </tr>
      </thead>
      <tbody>
      <tr class="text-c">
        <th>1</th>
        <td>2018-04-05 16:00</td>
        <td>CCGO</td>
        <td>房屋租凭合同</td>
        <td>
          <a href="contract_manage_review.html" style="text-decoration: none;">
            <button class="buta">
              <i class="Hui-iconfont">&#xe725;</i>预览
            </button>
          </a>
          <a href="javascript:;" style="text-decoration: none;">
            <button class="buta" onClick="contract_add('合同编辑','contract_add.html','11')">
              <i class="Hui-iconfont">&#xe6df;</i>编辑
            </button>
          </a>
          <a href="javascript:;" style="text-decoration: none;">
            <button class="buta" onClick="deleteInfos(this)">
              <i class="Hui-iconfont">&#xe6e2;</i>删除
            </button>
          </a>
        </td>
        <!-- <td class="del">
            <i class="Hui-iconfont delete" onClick="deleteInfos(this)">&#xe6a6;</i>
        </td> -->
      </tr>
      </tbody>
    </table>
    <div class="page-wrap dataTables_wrapper">

      <div class="dataTables_info" id="DataTables_Table_0_info" role="status" aria-live="polite">显示 1 到 1 ，共 1 条</div>
      <div class="dataTables_paginate paging_simple_numbers" id="DataTables_Table_0_paginate">
        <a class="paginate_button previous disabled" aria-controls="DataTables_Table_0" data-dt-idx="0" tabindex="0" id="DataTables_Table_0_previous">上一页</a>
        <span>
                        <a class="paginate_button current" aria-controls="DataTables_Table_0" data-dt-idx="1" tabindex="0">1</a>
                    </span>
        <a class="paginate_button next disabled" aria-controls="DataTables_Table_0" data-dt-idx="2" tabindex="0" id="DataTables_Table_0_next">下一页</a>
      </div>
    </div>
  </div>
</div>

<script type="text/javascript" src="__PUBLIC__/Admin/lib/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/Admin/lib/layer/2.4/layer.js"></script>
<script type="text/javascript" src="__PUBLIC__/Admin/static/h-ui/js/H-ui.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/Admin/static/h-ui.admin/js/H-ui.admin.js"></script>


<script type="text/javascript" src="__PUBLIC__/Admin/lib/My97DatePicker/4.8/WdatePicker.js"></script>
<script type="text/javascript" src="__PUBLIC__/Admin/lib/jquery.validation/1.14.0/jquery.validate.js"></script>
<script type="text/javascript" src="__PUBLIC__/Admin/lib/jquery.validation/1.14.0/validate-methods.js"></script>
<script type="text/javascript" src="__PUBLIC__/Admin/lib/jquery.validation/1.14.0/messages_zh.js"></script>
<script type="text/javascript">
    $(function () {
        $('.skin-minimal input').iCheck({
            checkboxClass: 'icheckbox-blue',
            radioClass: 'iradio-blue',
            increaseArea: '20%'
        });
        $("#tab-system").Huitab({
            index: 0
        });
    });


    /*合同-添加*/
    function contract_add(title, url, id, w, h) {
        var index = layer.open({
            type: 2,
            title: title,
            content: url
        });
        layer.full(index);
    }

    /**
     * 删除
     */
    function deleteInfos(obj) {
        var objParent = $(obj).parents('tr')
        //询问框
        layer.confirm('温馨提示？', {
            btn: ['确定', '取消'], //按钮
            shade: false //显示遮罩
        }, function () {
            layer.msg('删除成功', {
                icon: 1
            });

            objParent.remove()
        }, function () {
            layer.close()
        });
    }
</script>

</body>

</html>
